github.com/klauspost/compress/flate.advancedState.index (field)

51 uses

	github.com/klauspost/compress/flate (current package)
		deflate.go#L94: 	index     int
		deflate.go#L132: 	if s.index >= 2*windowSize-(minMatchLength+maxMatchLength) {
		deflate.go#L136: 		s.index -= windowSize
		deflate.go#L265: 	s.index = n
		deflate.go#L410: 	s.index = 0
		deflate.go#L426: 	if d.windowEnd-s.index < minMatchLength+maxMatchLength && !d.sync {
		deflate.go#L429: 	if d.windowEnd != s.index && d.chain > 100 {
		deflate.go#L435: 		for _, v := range d.window[s.index:d.windowEnd] {
		deflate.go#L444: 		if sanity && s.index > d.windowEnd {
		deflate.go#L447: 		lookahead := d.windowEnd - s.index
		deflate.go#L452: 			if sanity && s.index > d.windowEnd {
		deflate.go#L459: 					d.tokens.AddLiteral(d.window[s.index-1])
		deflate.go#L463: 					if d.err = d.writeBlock(&d.tokens, s.index, false); d.err != nil {
		deflate.go#L471: 		if s.index < s.maxInsertIndex {
		deflate.go#L473: 			hash := hash4(d.window[s.index:])
		deflate.go#L476: 			s.hashPrev[s.index&windowMask] = ch
		deflate.go#L477: 			s.hashHead[hash] = uint32(s.index + s.hashOffset)
		deflate.go#L483: 		minIndex := s.index - windowSize
		deflate.go#L489: 			if newLength, newOffset, ok := d.findMatch(s.index, s.chainHead-s.hashOffset, lookahead); ok {
		deflate.go#L504: 				prevIndex := s.index - 1
		deflate.go#L530: 											if d.err = d.writeBlock(&d.tokens, s.index, false); d.err != nil {
		deflate.go#L535: 										s.index++
		deflate.go#L536: 										if s.index < s.maxInsertIndex {
		deflate.go#L537: 											h := hash4(d.window[s.index:])
		deflate.go#L540: 											s.hashPrev[s.index&windowMask] = ch
		deflate.go#L541: 											s.hashHead[h] = uint32(s.index + s.hashOffset)
		deflate.go#L571: 													if d.err = d.writeBlock(&d.tokens, s.index, false); d.err != nil {
		deflate.go#L576: 												s.index++
		deflate.go#L577: 												if s.index < s.maxInsertIndex {
		deflate.go#L578: 													h := hash4(d.window[s.index:])
		deflate.go#L581: 													s.hashPrev[s.index&windowMask] = ch
		deflate.go#L582: 													s.hashHead[h] = uint32(s.index + s.hashOffset)
		deflate.go#L604: 			newIndex := s.index + prevLength - 1
		deflate.go#L611: 			startindex := s.index + 1
		deflate.go#L632: 			s.index = newIndex
		deflate.go#L637: 				if d.err = d.writeBlock(&d.tokens, s.index, false); d.err != nil {
		deflate.go#L651: 				d.tokens.AddLiteral(d.window[s.index-1])
		deflate.go#L653: 					if d.err = d.writeBlock(&d.tokens, s.index, false); d.err != nil {
		deflate.go#L658: 				s.index++
		deflate.go#L665: 						if s.index >= d.windowEnd-1 {
		deflate.go#L668: 						d.tokens.AddLiteral(d.window[s.index-1])
		deflate.go#L670: 							if d.err = d.writeBlock(&d.tokens, s.index, false); d.err != nil {
		deflate.go#L676: 						if s.index < s.maxInsertIndex {
		deflate.go#L677: 							h := hash4(d.window[s.index:])
		deflate.go#L680: 							s.hashPrev[s.index&windowMask] = ch
		deflate.go#L681: 							s.hashHead[h] = uint32(s.index + s.hashOffset)
		deflate.go#L683: 						s.index++
		deflate.go#L686: 					d.tokens.AddLiteral(d.window[s.index-1])
		deflate.go#L690: 						if d.err = d.writeBlock(&d.tokens, s.index, false); d.err != nil {
		deflate.go#L697: 				s.index++
		deflate.go#L876: 		s.index, d.windowEnd = 0, 0